package com.yz.platform.modules.biz.service;

import com.yz.platform.modules.biz.entity.ScriptEntity;

import java.util.List;
import java.util.Map;

/**
 * 
 * 
 * @author lin
 * @email 
 * @date 2017-10-15 16:00:56
 */
public interface ScriptService {
	
	ScriptEntity queryObject(Integer scriptId);

	ScriptEntity getByScriptNo(String scriptNo);
	
	List<ScriptEntity> queryList(Map<String, Object> map);
	
	int queryTotal(Map<String, Object> map);
	
	void save(ScriptEntity script);
	
	void update(ScriptEntity script);
	
	void delete(Integer scriptId);
	
	void deleteBatch(Integer[] scriptIds);
}
